//
//  Item.h
//  CS Inventory Manager
//
//  Created by Billy Zoellers on 2/10/13.
//  Copyright (c) 2013 Transylvania University. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Type.h"
#import "Category.h"
#import "CheckoutRecord.h"

@interface Item : NSObject {
    
    NSMutableArray *accessories;
    
}

// Item attributes
@property (assign) int itemId;
@property (assign) int mid;
@property (assign) int statusId;
@property (strong) NSString *model;
@property (strong) NSString *serialNo;
@property (strong) NSString *assetId;
@property (assign) double cost;
@property (assign) double itemValue;
@property (strong) NSDate *dateAdded;
@property (strong) NSString *status;
@property (strong) NSString *notes;
@property (strong) NSString *location;
@property (weak) Type *myType;
@property (strong) CheckoutRecord *checkoutActive;

// methods
- (BOOL)isCheckedOut;

@end